﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace Factory.MasterData.MeasureUnits
{
    /// <summary>
    /// 计量单位
    /// </summary>
    public class MeasureUnit : Entity<int>
    {
        /// <summary>
        /// 单位编码
        /// </summary>
        public string UnitCode { get; set; }
        /// <summary>
        /// 单位名称
        /// </summary>
        public string UnitName { get; set; }
        /// <summary>
        /// 是否是主单位
        /// </summary>
        public int IsNoUnit { get; set; }
        /// <summary>
        /// 主单位
        /// </summary>
        public int PrimaryUnit { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public int IsUsed { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 与主单位换算比例
        /// </summary>
        public int Conversion { get; set; }

    }
}
